package com.wpen.unit.cvt.system;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.wpen.unit.infra.mybatis.system.po.MenuPo;
import com.wpen.unit.web.dto.system.MenuListRequest;
import com.wpen.unit.web.dto.system.MenuListResponse;
import com.wpen.unit.web.dto.system.MenuListRowsResponse;

/**
 * 菜单转换类
 * 
 * @author Wang Peng
 * @date 2022-12-22
 *
 */
@Mapper
public interface MenuCvt {
    MenuCvt INSTANCE = Mappers.getMapper(MenuCvt.class);

    MenuPo queryListDto2Do(MenuListRequest menuListRequest);

    MenuListResponse queryListDo2Dto(MenuPo menuPo);

    MenuListRowsResponse queryListRowDo2Dto(MenuPo menuPo);

}
